﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using HISModel;
using HISDAL;

namespace HISBLL
{
   public  class ghBLL
    {
        //实例化dal
        ghDAL dal = new ghDAL();
        //获取医院下拉列表的数据
        public List<T_Hospital> GetDataHospital()
        {
            return dal.GetDataHospital();
        }
        //获取科室下拉列表的数据
        public List<T_Office> GetDataOffice()
        {
            return dal.GetDataOffice();
        }
        //获取医生下拉列表的数据
        public List<T_Doctor> GetDataDoctor()
        {
            return dal.GetDataDoctor();
        }
        //添加挂号信息
        public int GetDataGHinfo(Gh_Table m)
        {
            return dal.GetDataGHinfo(m);
        }

        //获取医生级别下拉列表的数据
        public List<T_DoctorType> GetDatajibie()
        {
            return dal.GetDatajibie();
        }
        



        //获取挂号类型表
        public List<T_DoctorType> GetDataGHtype()
        {
            return dal.GetDataGHtype();
        }
        //获取挂号记录表数据
        public List<GH_Record> GetDataGHrecord()
        {
            return dal.GetDataGHrecord();
        }

    }

}
